package org.wms.minbearwcs.dao.inbound.inf;

import org.wms.minbearwcs.entity.PO.wcs.inbound.InboundOrderDetail;
import org.wms.minbearwcs.entity.PO.wcs.inbound.status.InboundOrderDetailStatus;

public interface InboundOrderDetailDao {
    boolean insert(InboundOrderDetail inboundOrderDetail);

    InboundOrderDetail selectDetailByOrderCodeAndPalletCode(String orderCode,String palletCode, InboundOrderDetailStatus status);

    boolean updateStartPointById(Integer id,String startPoint);

    boolean updateStatusById(Integer id , InboundOrderDetailStatus status);

    InboundOrderDetailStatus getStatusById(Integer id);

    boolean updateStoragePointById(Integer id,String storagePoint);

    boolean updateExchangePointById(Integer id,String exchangePoint);

    boolean updateLiftRequestPoint(Integer id,String liftRequestPoint);

    InboundOrderDetail selectDetailByOrderCodeAndPalletCode(String palletCode, InboundOrderDetailStatus status);

    InboundOrderDetail selectById(Integer id);
}
